#ifndef FLY2DPARAM_H
#define FLY2DPARAM_H

#include <QObject>

/**
 * @brief The Fly2DParam class
 * 飞动参数
 */
class Fly2DParam
{
public:
    Fly2DParam(){}

    bool isEnable(){ return mEnable; }
    bool isCorrable(){ return mCorrable; }
    double scaleX(){ return mScaleX; }
    double scaleY(){ return mScaleY; }
    void setEnable(bool enable){ mEnable = enable; }
    void setCorrable(bool enable){ mCorrable = enable; }
    void setScaleX(double scaleX){ mScaleX = scaleX; }
    void setScaleY(double scaleY){ mScaleY = scaleY; }


private:
    bool mEnable = false;//是否开启飞动
    bool mCorrable = false;//是否开启飞动校正
    double mScaleX = 0.0f;//多少bit每个计数
    double mScaleY = 0.0f;
};

#endif // FLY2DPARAM_H
